package com.swxc.smartorder.ui.activity

import android.os.Bundle
import com.swxc.smartorder.R
import com.swxc.smartorder.ui.base.BaseActivity
import com.swxc.smartorder.utils.ApkVersionCodeUtils
import kotlinx.android.synthetic.main.activity_about.*

class AboutActivity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_about)
        initViewAndEvent()
    }

    private fun initViewAndEvent() {

        iv_back.setOnClickListener { finish() }
        tv_version.text = "V ${ApkVersionCodeUtils.getVerName(this)}"
    }
}
